<template>
  <div>
    <div class="top">
      <el-input
        size="medium"
        placeholder="关键字搜索"
        suffix-icon="el-icon-search"
        style="width:200px;height: 36px;"
      >
      </el-input>
      <el-button round style="width: 68px;height: 36px;font-size: 14px;float: right;margin-right: 30px;">列</el-button>
    </div>
    <div class="bottom">
      <el-table ref="table" :data="tableData" size="small" style="width: 100%;">
        <el-table-column type="selection" width="55"></el-table-column>
        <el-table-column prop="patientId" width="159" label="患者编号"></el-table-column>
        <el-table-column prop="whereClinic" width="159" label="所属诊所"></el-table-column>
        <el-table-column prop="attendingDoctor" width="159" label="主治医生"></el-table-column>
        <el-table-column prop="patientName" width="159" label="患者姓名">
          <template slot-scope="scope">
            <a
              style="color: #719DC9;text-decoration:underline"
            >{{ scope.row.patientName }}</a>
          </template>
        </el-table-column>
        <el-table-column prop="birthday" width="159" label="出生日期"></el-table-column>
        <el-table-column prop="patientSex" width="159" label="患者性别"></el-table-column>
        <el-table-column prop="firstVisit" width="159" label="第一次就诊时间"></el-table-column>
        <el-table-column prop="patientNumber" width="159" label="病例量"></el-table-column>
        <el-table-column prop="packageType" width="159" label="套餐类型"></el-table-column>
        <el-table-column prop="product" width="159" label="产品"></el-table-column>
        <el-table-column prop="setMeal" width="159" label="套餐"></el-table-column>
        <el-table-column prop="diagnosis" width="159" label="诊疗阶段"></el-table-column>
      </el-table>
      <!--<pagination></pagination>-->
    </div>
  </div>
</template>

<script>
// import pagination from '@crud/Pagination';
export default {
  name: 'Patient',
  components: {
    // pagination
  },
  data() {
    return {
      tableData: [{
        patientId: 'LM202004080906',
        whereClinic: '北京美中宜和门诊',
        attendingDoctor: '王医生',
        patientName: '王一童',
        birthday: '2019.09.09',
        patientSex: '男',
        firstVisit: '2019.09.09',
        patientNumber: '12',
        packageType: '',
        product: '罗慕',
        setMeal: '',
        diagnosis: '初诊'
      }, {
        patientId: 'LM202004080906',
        whereClinic: '北京美中宜和门诊',
        attendingDoctor: '王医生',
        patientName: '王一童',
        birthday: '2019.09.09',
        patientSex: '男',
        firstVisit: '2019.09.09',
        patientNumber: '12',
        packageType: '',
        product: '罗慕',
        setMeal: '',
        diagnosis: '初诊'
      }, {
        patientId: 'LM202004080906',
        whereClinic: '北京美中宜和门诊',
        attendingDoctor: '王医生',
        patientName: '王一童',
        birthday: '2019.09.09',
        patientSex: '男',
        firstVisit: '2019.09.09',
        patientNumber: '12',
        packageType: '',
        product: '罗慕',
        setMeal: '',
        diagnosis: '初诊'
      }, {
        patientId: 'LM202004080906',
        whereClinic: '北京美中宜和门诊',
        attendingDoctor: '王医生',
        patientName: '王一童',
        birthday: '2019.09.09',
        patientSex: '男',
        firstVisit: '2019.09.09',
        patientNumber: '12',
        packageType: '',
        product: '罗慕',
        setMeal: '',
        diagnosis: '初诊'
      }, {
        patientId: 'LM202004080906',
        whereClinic: '北京美中宜和门诊',
        attendingDoctor: '王医生',
        patientName: '王一童',
        birthday: '2019.09.09',
        patientSex: '男',
        firstVisit: '2019.09.09',
        patientNumber: '12',
        packageType: '',
        product: '罗慕',
        setMeal: '',
        diagnosis: '初诊'
      }, {
        patientId: 'LM202004080906',
        whereClinic: '北京美中宜和门诊',
        attendingDoctor: '王医生',
        patientName: '王一童',
        birthday: '2019.09.09',
        patientSex: '男',
        firstVisit: '2019.09.09',
        patientNumber: '12',
        packageType: '',
        product: '罗慕',
        setMeal: '',
        diagnosis: '初诊'
      }, {
        patientId: 'LM202004080906',
        whereClinic: '北京美中宜和门诊',
        attendingDoctor: '王医生',
        patientName: '王一童',
        birthday: '2019.09.09',
        patientSex: '男',
        firstVisit: '2019.09.09',
        patientNumber: '12',
        packageType: '',
        product: '罗慕',
        setMeal: '',
        diagnosis: '初诊'
      }]
    };
  }
};
</script>

<style scoped>
  .top{
    margin: 30px 0px 20px 30px;
  }
</style>
